# $Id$
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=icewm
pkgver=1.4.2
pkgrel=1
pkgdesc="A Window Manager designed for speed, usability, and consistency"
arch=('x86_64')
url="http://www.icewm.org/"
license=('LGPL')
depends=('libxrandr' 'libxft' 'libsm' 'libxinerama' 'gdk-pixbuf2' 'fribidi')
makedepends=('xorg-mkfontdir')
source=(https://github.com/bbidulock/icewm/releases/download/$pkgver/$pkgname-$pkgver.tar.bz2)
sha256sums=('9920901c5eadb6df95af68dcb4f044b16e76e80ccd2c420b66c2ab83559477a7')

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr --sysconfdir=/etc \
    --enable-shaped-decorations --enable-gradients
  make
}

package() {
  cd ${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}
